package main.java.facultative.domain;

import java.util.List;

public class Facultative {
	private Integer facultativeId;
	private String name;
	private List<Training> trainings;
	
	public Facultative(Integer facultativeId, String name,
			List<Training> trainings) {
		
		this.facultativeId = facultativeId;
		this.name = name;
		this.trainings = trainings;
	}

	public Integer getFacultativeId() {
		return facultativeId;
	}

	public void setFacultativeId(Integer facultativeId) {
		this.facultativeId = facultativeId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Training> getTrainings() {
		return trainings;
	}

	public void setTrainings(List<Training> trainings) {
		this.trainings = trainings;
	}
	
	
	
}
